﻿<Window x:Class="HeadLinx.AD.Explorer.ShowLinksDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="People Link"
        Width="439"
        Height="313"
        Loaded="Window_Loaded"
        ResizeMode="NoResize"
        WindowStartupLocation="CenterScreen"
        WindowStyle="SingleBorderWindow">
    <Grid Margin="5">
        <Grid.RowDefinitions>
            <RowDefinition Name="rowExplain"
                           Height="Auto">
            </RowDefinition>
            <RowDefinition Name="rowNamesList"
                           Height="Auto">
            </RowDefinition>
            <RowDefinition Name="rowOptions"
                           Height="*">
            </RowDefinition>
            <RowDefinition Name="rowButtons"
                           Height="Auto">
            </RowDefinition>
        </Grid.RowDefinitions>

        <TextBlock Name="tbExplain"
                   Grid.Row="0"
                   Margin="8,5"
                   TextWrapping="WrapWithOverflow"
                   Height="43"
                   VerticalAlignment="Top"
                   FontSize="14"
                   Foreground="#FF3E3E3E">Enter semi-colon delimited list of people you want to link.  This may be their email alias or display name.</TextBlock>

        <Grid Grid.Row="1">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Name="colNamesList"
                                  Width="*"></ColumnDefinition>
                <ColumnDefinition Name="colCheckNamesButton"
                                  Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBox Name="txtNames"
                     Grid.Column="0"
                     Margin="15,8,5,8"
                     TextWrapping="WrapWithOverflow"
                     Foreground="#FF4E4E4E"
                     FontFamily="Verdana"
                     TabIndex="1"
                     TextChanged="txtNames_TextChanged"
                     FontSize="16"
                    MaxHeight="75" />
        </Grid>

        <StackPanel Orientation="Vertical"
                    Grid.Row="2"
                    Margin="15,0">
            <CheckBox Margin="8"
                      HorizontalAlignment="Left"
                      Name="chkIncludeMe"
                      IsChecked="True"
                      TabIndex="3"
                      Click="chkIncludeMe_Click">Include me ({0})</CheckBox>
            <CheckBox Margin="8,0,0,8"
                      HorizontalAlignment="Left"
                      Name="chkRememberList"
                      IsChecked="True"
                      TabIndex="3"
                      Click="chkRememberList_Click">Remember this list</CheckBox>
        </StackPanel>

        <StackPanel Grid.Row="3"
                    Height="Auto"
                    Orientation="Horizontal"
                    HorizontalAlignment="Right"
                    VerticalAlignment="Bottom">
            <Button Margin="8,0,0,8"
                    Padding="8,3"
                    Name="btnDrawChart"
                    VerticalAlignment="Bottom"
                    TabIndex="4"
                    IsDefault="True"
                    Click="btnDrawChart_Click">Draw Chart</Button>
            <Button Margin="8"
                    Padding="8,3"
                    Name="btnClose"
                    TabIndex="5"
                    IsCancel="True">Close</Button>
        </StackPanel>
    </Grid>
</Window>
